package com.huishu.goods.pojo.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.huishu.commons.pojo.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author generator@ljj
 * @since 2023-04-11
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("t_product_give")
public class ProductGiveDO extends BaseModel {

    /**
     * 满减活动id
     */
    private Long fullReductionId;

    /**
     * 商品id
     */
    private Long productId;

    /**
     * 赠送商品id
     */
    private Long giveProductId;

    /**
     * 赠送商品sku
     */
    private String giveProductSku;

    /**
     * 数量
     */
    private Integer num;

    /**
     * 类型 1 主动赠送 2 满减赠送
     */
    private Integer type;
}
